<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/app/plugins/dialog/css/dialog.css" />
<%--<link rel="stylesheet" type="text/css" href="<%=basePath%>/app/plugins/flavr/css/animate.css">--%>
<link rel="stylesheet" type="text/css" href="<%=basePath%>/app/plugins/flavr/css/flavr.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/app/css/appLogin.css">
<style>
    body {
        background-color: #efeff4;
    }
</style>
<div class="vip_center">
    <div class="vip_header">
        <a class="login">
            <div class="header_box">
                <div class="touxiang">
                    <img src="<%=basePath%>/app/images/defaultHead.png" alt="">
                </div>
                <div class="name"><span>登录/注册</span></div>
            </div>
        </a>
    </div>
    <div class="vip_span">
        <div class="col-xs-4 text-center">
            <a>
                <div class="vip_banner">
                    <img src="<%=basePath%>/app/images/user/single_gray.svg"/>
                    <h4>单篇</h4>
                </div>
            </a>
            <a>
                <div class="vip_banner">
                    <img src="<%=basePath%>/app/images/user/collect_gray.svg"/>
                    <h4>收藏</h4>
                </div>
            </a>
            <a>
                <div class="vip_banner">
                    <img src="<%=basePath%>/app/images/user/focus_gray.svg"/>
                    <h4>关注</h4>
                </div>
            </a>
            <a>
                <div class="vip_banner">
                    <img src="<%=basePath%>/app/images/user/history_gray.svg"/>
                    <h4>历史</h4>
                </div>
            </a>
        </div>
    </div>
    <ul class="vip_ul">
        <li>
            <a>
                <div class="lzz">消息</div>
            </a>
        </li>
        <li>
            <a>
                <div class="lzz">订单</div>
            </a>
        </li>
        <li>
            <a>
                <div class="lzz">意见反馈</div>
            </a>
        </li>
    </ul>
</div>

<jsp:include page="nav.jsp"/>
<script type="text/javascript" src="<%=basePath%>/app/plugins/flavr/js/myFlavr.js"></script>
<script type="text/javascript" src="<%=basePath%>/app/plugins/dialog/js/dialog.js"></script>
<%--<script type="text/javascript" src="<%=basePath%>/app/plugins/flavr/js/flavr.min.js"></script>--%>
<script>
    $(function () {
        mui('.vip_center').on("tap", 'a', function () {
            initLogin(function (dialog) {
                dialog.hideDialog();
                refreshPage();
            },{onLoad: "refreshPage"})
        });
    });
    
    function refreshPage() {
        mui.openWindow({
            url: _basePath + "app/page?pv=mine"
        });
    }
</script>